import axios from 'axios';

const post = (url,params) => {
    return axios({
        method: 'post',
        url,
        data: Qs.Stringify(params),
        timeout: 3000,
        headers: {
            'X-Requested-With': 'XMLHttpRequest',
            'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
        }
    })
}

export default {
    post
}